<%= error_messages_for :user %>
<div class="login_register_container">
  <div>
    <% form_for :user, :url => users_path do |f| -%>
    <table style="margin-bottom:10px">
      <tr>
        <td class="tdCenter title" style="padding: 10px 0px 10px 0px" colspan="2">
          <%= User.l_attr('register') + " " + l(:common, :now) %>
        </td>
      </tr>
      <tr>
        <td class="tdRight">
          <label for="user_name">
            <%= User.l_attr(:name) %>:
          </label>
        </td>
        <td>
          <%= f.text_field 'name', :size=> 16 %>
        </td>
      </tr>
      <tr>
        <td class="tdRight">
          <label for="user_email">
            <%= User.l_attr(:email) %>:
          </label>
        </td>
        <td>
          <%= f.text_field 'email', :size => 16 %>
        </td>
      </tr>
      <tr>
        <td class="tdRight">
          <label for="user_password">
            <%= User.l_attr(:password) %>:
          </label>
        </td>
        <td>
          <%= f.password_field 'password', :size => 16 %>
        </td>
      </tr>
      <tr>
        <td class="tdRight">
          <label for="user_password_confirmation">
            <%= User.l_attr('confirm password') %>:
          </label>
        </td>
        <td>
          <%= f.password_field 'password_confirmation', :size => 16 %>
        </td>
      </tr>
      <tr>
        <td colspan="2" class="tdCenter">
          <%= submit_tag User.l_attr('register'), :class => 'submit' %>
          or <%= link_to User.l_attr('login'), login_url %>
        </td>
      </tr>
    </table>
    <% end -%>
  </div>
</div>
<div class="explanation">
  <div class="title">
    Why register?
  </div>
  <p>
    <strong>Favorites.</strong>
    Keep track of the artists you love.
  </p>
  <p>
    <strong>Language.</strong>
    <%= SITE_NAME %>has been translated into many languages &mdash; login to select the one you want to see. 
  </p>
  <p>
    <strong>Saved Information.</strong>
    Making transactions on <%= SITE_NAME %>is even easier for members because you can save your information!
  </p>
  <div class="explanation">
    Want to take advantage of all that we have to offer? <%= link_to "Register", new_user_url %>today!
  </div>
</div>
